package Yki.PaperPlaneClient.Friends;

import java.util.ArrayList;

import Yki.PaperPlaneClient.Gender;
import Yki.PaperPlaneClient.R;

public class FriendCreater {
	static ArrayList<Friend> friends;
	public static void createFriends() {
		friends = new ArrayList<Friend>();
		Friend friend01 = new Friend(1, R.drawable.friends_portrait_keneal, "Keneal", 
				Gender.MALE, "Guangzhou", 
				"Whatever is worth doing is worth doing well.");
		Friend friend02 = new Friend(2, R.drawable.friends_portrait_jack, "Jack", 
				Gender.FEMALE, "Beijing", "Believe in yourself.");
		Friend friend03 = new Friend(3, R.drawable.friends_portrait_yong, "Yong", 
				Gender.MALE, "Shanghai", "Action speak louder than words.");
		Friend friend04 = new Friend(4, R.drawable.friends_portrait_luo, "Luo", 
				Gender.FEMALE, "Guangzhou", " Never say die.");
		Friend friend05 = new Friend(5, R.drawable.friends_portrait_huang, "Huang", 
				Gender.MALE, "Beijing", "Do one thing at a time, and do well");
		Friend friend06 = new Friend(6, R.drawable.friends_portrait_wu, "Wu", 
				Gender.MALE, "Shanghai", "You can improve your future.");
		friends.add(friend01);
		friends.add(friend02);
		friends.add(friend03);
		friends.add(friend04);
		friends.add(friend05);
		friends.add(friend06);
	}
	public static Friend getFriendByIndex(int index) {
		return friends.get(index);
	}
	public static ArrayList<Friend> getFriends() {
		return friends;
	}

}
